
<script>
function abc(){
 var name=document.getElementById('search_key');
 name.className="ipt12";
}
function cc(x){
 var name=document.getElementById("con_five_"+x);
 var list=document.getElementById("five"+x);
 name.style.display="none";
 list.className="";
}
function setTab(name,cursel,n){
 for(i=1;i<=n;i++){
  var menu=document.getElementById(name+i);
  var con=document.getElementById("con_"+name+"_"+i);
  menu.className=i==cursel?"hover":"";
  con.style.display=i==cursel?"block":"none";
 }
}

   function checkit(form)
   {
   		if(form.info_detail.value==""){
		  alert("请填写内容！");
		  form.info_detail.focus();
		  return(false);
		}

	



   }

</script>




  <!--头部结束-->
  <div class="main">
    <div class="address_tit2">您的位置：<a href="#" class="index">ieazy</a> > <a href="#">用户注册</a></div>
       <div class="reg">
           <div class="info_box">
		      <div class="tab_info"><ul>
			    <li id="one1" onmouseover="setTab('one',1,3)"  class="hover">分享新闻</li><li  id="one2" onmouseover="setTab('one',2,3)">分享相册</li><li  id="one3" onmouseover="setTab('one',3,3)">分享视频</li>
			  </ul></div>
			  <div class="info_con hover" id="con_one_1" >
			    <form method="post" action="<?php echo url_for('user/share') ?>" onsubmit="if ( this.info_title.value=='' ) { alert ( '您还没有填写标题' ); return false; }; return checkit(this);"><div class="info_con_detail">
				 <ul>
				   <li>标题：<input class="info_title" name="info_title" type="text" /></li>
				   <li><span class="dw">内容：</span><textarea class="info_detail" name="info_detail" ></textarea></li>
				 </ul><input type="lable" name="lable" value="1" style="DISPLAY: none" >
				</div>
				<div class="submit2"><input name="a1" class="sear01" type="submit" value="分享/上传" />　　<input name="a2" class="sear01" type="reset" value="重&nbsp;置" /></div>
				</form>
			  </div>
			  <div class="info_con"  id="con_one_2" style="display:none">
			    <form method="post" action="<?php echo url_for('user/share') ?>"><div class="info_con_detail">
				 <ul>
				   <li>标题：<input class="info_title" name="info_title" type="text" /></li>
				   <li><span class="dw">内容：</span><textarea class="info_detail" name="info_detail" ></textarea></li>
				 </ul><input type="lable" name="lable" value="2" style="DISPLAY: none" >
				</div>
				<div class="submit2"><input name="a1" class="sear01" type="submit" value="分享/上传" />　　<input name="a2" class="sear01" type="reset" value="重&nbsp;置" /></div>
				</form>
			  </div>
			  <div class="info_con"  id="con_one_3"  style="display:none">
			    <form method="post" action="<?php echo url_for('user/share') ?>"><div class="info_con_detail">
				 <ul>
				   <li>标题：<input class="info_title" name="info_title" type="text" /></li>
				   <li><span class="dw">内容：</span><textarea class="info_detail" name="info_detail" ></textarea></li>
				 </ul><input type="lable" name="lable" value="3" style="DISPLAY: none" >
				</div>
				<div class="submit2"><input name="a1" class="sear01" type="submit" value="分享/上传" />　　<input name="a2" class="sear01" type="reset" value="重&nbsp;置" /></div>
				</form>
			  </div>
			  
		   </div>
       </div>
       
 </div>
